# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sshign
pkgver=0.2.1
pkgrel=6
pkgdesc="Small program to sign & verify files with your SSH key"
url="https://git.sr.ht/~minus/sshign"
arch="all"
license="MIT"
makedepends="go scdoc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~minus/sshign/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	make PREFIX=/usr
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

check() {
	go test ./...
}

sha512sums="
796dac013190d05b19e5ca19f318eb4258ca12fb7521b4b078edeb240a30571cd8390c98b8cca5a2c89427e7ae87bf25c58b5740feeddb6493259ded67d4c220  sshign-0.2.1.tar.gz
"
